//
//  TestCaseRun.h
//  WiteBox
//
//  Created by John Blanco on 6/27/09.
//  Copyright 2009 Effective UI. All rights reserved.
//

#import <Foundation/Foundation.h>

@class TestRun;

@interface TestCaseRun : NSObject {
	Class testCaseClass;
	NSMutableArray *testRuns;
	NSInteger passingTests;
	NSInteger failingTests;
	NSInteger executedTests;
}

- (id)initWithClass:(Class)aClass;

- (void)addTestRun:(TestRun *)testRun;
- (Class)testCaseClass;
- (NSString *)testCaseClassName;
- (void)runTests;

- (NSInteger)passingTests;
- (NSInteger)failingTests;
- (NSInteger)executedTests;
- (NSInteger)totalTests;
- (NSArray *)testRuns;

- (BOOL)isCompleted;

- (double)durationOfAllRuns;

@end
